package com.zheng.wc.dao.model;

import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.time.LocalDate;
import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.zheng.common.base.BaseEntity;

/**
 * <p>
 * <p>
 * </p>
 *
 * @author likun
 * @since 2018-04-19
 */
@TableName("wc_personal_plan")
public class WcPersonalPlan extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 计划标题
     */
    @TableField("plan_name")
    private String planName;
    /**
     * 计划详情
     */
    @TableField("plan_detail")
    private String planDetail;
    /**
     * 附件
     */
    private String attachment;
    /**
     * 阅读次数
     */
    @TableField("read_count")
    private Integer readCount;
    @TableField("plan_year")
    private Integer planYear;
    @TableField("plan_month")
    private Integer planMonth;
    @TableField("plan_week")
    private Integer planWeek;
    @TableField("plan_day")
    private Integer planDay;
    @TableField("plan_date")
    private Date planDate;
    /**
     * 时间类型 0 年度计划 1月计划
     */
    @TableField("time_type")
    private Integer timeType;
    /**
     * 状态 0 正常 1已删除
     */
    private Integer status;
    /**
     * 备注
     */
    private String remark;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPlanName() {
        return planName;
    }

    public void setPlanName(String planName) {
        this.planName = planName;
    }

    public String getPlanDetail() {
        return planDetail;
    }

    public void setPlanDetail(String planDetail) {
        this.planDetail = planDetail;
    }

    public String getAttachment() {
        return attachment;
    }

    public void setAttachment(String attachment) {
        this.attachment = attachment;
    }

    public Integer getReadCount() {
        return readCount;
    }

    public void setReadCount(Integer readCount) {
        this.readCount = readCount;
    }

    public Integer getPlanYear() {
        return planYear;
    }

    public void setPlanYear(Integer planYear) {
        this.planYear = planYear;
    }

    public Integer getPlanMonth() {
        return planMonth;
    }

    public void setPlanMonth(Integer planMonth) {
        this.planMonth = planMonth;
    }

    public Integer getTimeType() {
        return timeType;
    }

    public void setTimeType(Integer timeType) {
        this.timeType = timeType;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getPlanWeek() {
        return planWeek;
    }

    public void setPlanWeek(Integer planWeek) {
        this.planWeek = planWeek;
    }

    public Integer getPlanDay() {
        return planDay;
    }

    public void setPlanDay(Integer planDay) {
        this.planDay = planDay;
    }

    public Date getPlanDate() {
        return planDate;
    }

    public void setPlanDate(Date planDate) {
        this.planDate = planDate;
    }
    @Override
    protected Serializable pkVal() {
        return id;
    }
    @Override
    public String toString() {
        return "WcPersonalPlan{" +
                "id=" + id +
                ", planName=" + planName +
                ", planDetail=" + planDetail +
                ", attachment=" + attachment +
                ", readCount=" + readCount +
                ", planYear=" + planYear +
                ", planMonth=" + planMonth +
                ", timeType=" + timeType +
                ", status=" + status +
                ", remark=" + remark +
                "}";
    }
}
